
public class Proper2 {
	String fa;
	FormalParam fp;
	Proper2 p ;
	
	public Proper2 (String fa, FormalParam fp, Proper2 p){
		this.fa = fa;
		this.fp = fp;
		this.p = p ;
	}
	public String toString(){
		String ret = "\n";

		String s = "";
		if (p != null) {
			s +=  p.toString();
		}
		if (fp != null) {
			s =  fp.toString();
		}
		


		return ret+s;
	}
	public void check() throws SemanticException {
		SymbolTable table = SymbolTable.getInstance();
		if (fp != null) {
			fp.check();
		}
		if (p != null) {
			p.check();
		}
	}
}
